#ifndef _HEADBOSS_WEAPON_H_
#define _HEADBOSS_WEAPON_H_

#include "Object.h"

#define HEADBOSS_WEAPON_VX			0.2

class HeadBossWeapon : public Object
{
	int countFrameRod;
	bool isLeft;

public:
	/*
	 *	get/set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	Contructor/destructor
	 */
	HeadBossWeapon(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, bool isLeft);
	~HeadBossWeapon();

	
	/*
	 *	Method
	 */
	 
	void update(list<Object*>* obj_list, DxInput* input, float TPF);
	void update(list<Object*>* obj_list, DxInput* input, float TPF, Object* simon);	//ham update cho cac enemy
	
	

	//Castlevania Dagger
	void attack(list<Object*>* obj_list, float time, Object* simon);

	void render(int cameraX, int cameraY);
	void changeState(int state);
};

#endif